package com.repast.common;

/**
 * 配置通用常量
 */
public class Const {

	// 预约已点餐
	public static final Integer APPOINT_ORDERS_PAY = 2;
	// 默认背景图
	public static final Integer DEFAULT_BG_IMG = 1;
	// 默认餐厅信息
	public static final Integer DEFAULT_RS_INFO = 1;
	// 桌子当前时间已被预约
	public static final Integer ALREADY_APPOINTMENT = 1001;
	// 没有添加任何地址
	public static final Integer NO_HAVE_ADDRESS = 1002;
	// 地址添加失败
	public static final Integer INSERT_ADDRESS_FAIL = 1003;
	// 删除地址失败
	public static final Integer DELETE_ADDRESS_FAIL = 1004;
	// 编辑或者修改地址失败
	public static final Integer UPDATE_ADDRESS_FAIL = 1005;
	// 没有添加默认的收货地址
	public static final Integer NO_DEFAULT_ADDRESS = 1006;
	// 用户有多个默认收货地址
	public static final Integer MANY_DEFAULT_ADDRESS = 1007;
	// 订单生成失败
	public static final Integer CREATE_ORDERS_FAIL = 1008;
	// 订单项成失败
	public static final Integer CREATE_ORDERSITM_FAIL = 1009;
	// 订单编号异常,找不到订单
	public static final Integer ORDERS_NUM_ERROR = 1010;
	// 设置桌子使用时间失败
	public static final Integer SET_DESK_TIME_FAIL = 1011;
	// 前台展示了默认的收货地址,但是后台无法查到.
	public static final Integer ADDRESS_SYSTEM_ERROR = 1012;
	// 桌子预定时间生成失败
	public static final Integer DESK_TIME_ERROR = 1013;
	// 系统异常,预约失败!
	public static final Integer SYSTEM_APPOINT_FAIL = 1014;
	// 支付成功后,订单更新失败
	public static final Integer ORDERS_UPDATE_FAIL = 1015;
	// 提交意见反馈失败
	public static final Integer SUBMIT_OPINION_FAIL = 1016;
	// 打赏员工失败
	public static final Integer REWARD_EMPLOYEE_FAIL = 1017;
	// 取消失败
	public static final Integer ABOLISH_APPOINT_FAIL = 1018;
	// 未查询到预约
	public static final Integer NO_APPOINT = 1019;
	// 没有找到预约相关联的订单
	public static final Integer NO_APPOINT_ORDERS = 1020;
	// 预约添加订单失败
	public static final Integer APPOINT_ADD_ORDERS_FAIL = 1021;

	// 口味类型
	public interface TasteType {
		int TYPE_KOUWEI = 0; // 口味
		int TYPE_JIKOU = 1;// 忌口
	}

	// 地址类型
	public interface AddressType {
		int DEFAULT_ADDRESS = 1; // 默认地址
		int PUTONG_ADDRESS = 0;// 普通地址
	}

	// 订单状态
	public interface OrdersTypeStatus {
		int WAIT_PAY = 1;// 等待付款
		int WAIT_RECEIVE = 2;// 待接单
		int WAIT_POST = 3;// 待发货
		int EVER_DELIVERED = 4;// 已发货
		int EVER_FINISH = 5;// 已完成
		int SYSTEM_ERR = 6;// 系统错误
		int WAIT_SERVER = 7;// 待上菜
		int WAIT_PACKAGE = 8;// 等待打包
		int EVER_APPOINT = 9;// 已预约
		int EVER_ABOLISH = 10;// 已取消
	}

	// 菜品状态
	public interface FoodsStatus {
		int FOODS_SHANGJIA = 0;
		int FOODS_XIAJIA = 1;
	}

	// 加菜状态
	public interface AddDishStatus {
		int NO_RECEIVE = 0;// 未接收
		int YES_RECEIVE = 1;// 已接收
	}

	// 催菜状态
	public interface UrgeStatus {
		int NO_RECEIVE = 0;// 未接收
		int YES_RECEIVE = 1;// 已接收
	}

	// 呼叫状态
	public interface CallStatus {
		int NO_RECEIVE = 0;// 未接收
		int YES_RECEIVE = 1;// 已接收
	}

	// 订单类型
	public interface OrdesType {
		int EAT_OUT = 0;// 外卖
		int EAT_IN = 1;// 堂食
		int EAT_APPOINT = 2;// 预约
		int EAT_PACK = 3;// 外带
	}

}
